package com.example.zoo.entities;

public class Animal {
    private String animalName;
    private String species;
    private int age;

    public Animal() {
    }

    public String getAnimalName() {
        return this.animalName;
    }

    public void setAnimalName(String animalName) {
        this.animalName = animalName;
    }

    public String getSpecies() {
        return this.species;
    }

    public void setSpecies(String species) {
        this.species = species;
    }

    public int getAge() {
        return this.age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public void feed() {
        System.out.println("Animal is being fed.");
    }

    public void performTrick() {
        System.out.println("Animal performs a trick.");
    }

    public boolean isMammal() {
        return true; // Placeholder implementation for now
    }

    public boolean isBird() {
        return false; // Placeholder implementation for now
    }

    public boolean isReptile() {
        return false; // Placeholder implementation for now
    }
}

package com.example.zoo.entities;

public class Mammal extends Animal {
    private String furColor;

    public Mammal(String animalName) {
        super.setAnimalName(animalName);
    }

    public String getFurColor() {
        return this.furColor;
    }

    public void setFurColor(String furColor) {
        this.furColor = furColor;
    }

    // Additional methods specific to mammals can be added here
}
